package com.butcher.framework.kernel.endpoint.http.transform.object;

import java.io.DataInput;
import java.io.DataOutput;
import java.lang.reflect.Type;

import com.butcher.framework.kernel.endpoint.http.transform.AbstractChain;
import com.butcher.framework.kernel.exc.FastHttpException;

public abstract class OBJChain extends AbstractChain {
	public abstract void addChain(OBJChain paramOBJChain);

	public abstract Object doRead(DataInput in, Type paramType, Class<?> clz)
			throws FastHttpException;

	public abstract void doWrite(DataOutput out, Object value)
			throws FastHttpException;

	public abstract OBJChain getChain();
}
